import http from '@/utils/http'

// 获取月排产量 (折线)
export const getMonthRecord = (data) => http ({
	url: 'getMonthRecord',
	method: 'post',
	data: data
})

// 获取日排产量 (饼图)
export const getPieDay = (data) => http ({
	url: 'getPieDay',
	method: 'post',
	data: data
})

// 获取周排产量 (饼图)
export const getPieWeek = (data) => http ({
	url: 'getPieWeek',
	method: 'post',
	data: data
})

// 获取月排产量 (饼图)
export const getPieMonth = (data) => http ({
	url: 'getPieMonth',
	method: 'post',
	data: data
})